.modal{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;  
  background-color: rgba(0, 0, 0, 0.6);
  transition: all 1s ease 0s;
  z-index: 999;
}